package com.mall.module.system.domain.entity;

import lombok.Data;

/**
 * 用户角色关联实体类
 */
@Data
public class SysUserRole {
    private Long id;      // 主键
    private Long userId;  // 用户ID
    private Long roleId;  // 角色ID
    
    public SysUserRole() {
    }
    
    public SysUserRole(Long userId, Long roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
} 